/* Global page styling */
body {
    margin: 0;
    padding: 0;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.6;
    color: #222;
    background: linear-gradient(#fafafa, #e8ecf3);
    border-top: 1px solid transparent; /* prevents collapsing */
}
h1, h2, h3 {
  margin-top: 0;
}

a {
    text-decoration: none;
    color: #0f376b; 
}

/* Main page title area */
/* Starry sky background */
#Maintitle {
    transition: ease-in-out 0.5s;
    position: relative;
    text-align: center;
    padding: 80px 20px;
    color: white;

    /* deep night gradient */
    background: linear-gradient(#08142a, #0f376b);
    overflow: hidden;
}


#title{
    position: relative;
    z-index: 2;
}

#title h1 {
    font-size: 2.8rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

#title p {
    margin: 6px 0;
    font-size: 1.05rem;
    opacity: 0.9;
}

/* Section containers */
#introduction,
#start {
    max-width: 900px;
    margin: 40px auto;
    padding: 25px 30px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* Section headers */
#introduction h1,
#start h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #0f376b;
}

/* Paragraph formatting */
#introduction p {
    font-size: 1.05rem;
    margin-bottom: 12px;
}

/* Start button link */
#start a {
    position: relative;
    text-align: center;
    text-decoration: none;
    color: #0f376b;
    border: 2px solid #0f376b;
    padding: 10px 18px;
    border-radius: 10px;
    transition: 0.25s ease;
    display:inline-block
}

#start {
    text-align: center;
    margin-top: 20px;
}

#start a:hover {
    background: #0f376b;
    color: white;
}

/* Footer */
#footer {
    text-align: center;
    padding: 25px 0 40px;
    color: #444;
    font-size: 0.9rem;
}

#footer p {
    margin: 0;
}
#menu {
    position: sticky;
    top: 0px;
    z-index: 10;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
#menu b {
    font-size: 1.2rem;
    text-align: center;
    color: white;
    padding: 18px 16px;
}
#menu ul {
  padding-top: 0px;
  list-style-type: none;
  margin: 0;
  overflow: hidden;
  background:black;
}

#menu ul li {
  float: left;
}

#menu ul li a {
  display: block;
  color: white;
  text-align: right;
  padding: 14px 16px;
  transition: 0.3s ease;
}
#menu ul li a:hover {
    background-color: white;
    color: #0f376b;
}

.content {
    padding: 20px;
    text-align: center;
}
.subject {
    max-width: 900px;
    margin: 40px auto;
    padding: 25px 30px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}
.subject:hover {
    transform: scale(1.05);
}
.subject b {
    font-size: 1.5rem;
    color: #0f376b;
}


ul {
  list-style-type: none; /* Removes the bullets */
  padding: 0;            /* Removes default indentation */
  margin: 0;             /* Removes default margin */
}
#nav {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
#info {
    text-align: center;
    padding: 10px 0;
    margin-bottom: 20px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
.content li:hover {
    font-size: 25px;
}
